Effect of surfactant on drop dynamics in linear flows