Theory of flow localisation due to dynamic strain ageing