Ramirez leads Marlins past Astros