Optimal Rotation Sequences in Presence of Constraints on Admissible Rotation Axes