Analysis of a nonfeedback technique for transient steering in class-B lasers