MMA star McGregor ordered to pay legal costs in rape case