Portugal PM resigns over corruption investigation