Orioles top Rays to stay alive in the division