Design of pole-assignment controller for systems with algebraic-equation constraint