Impact of near-inertial waves on a balanced flow