Differential inequality with delay and impulse and its applications to design of robust control