Non-food retail inflation in the UK was unchanged at 1.3% in July as retailers combated falling sales with continued price cuts and promotions.