Local monotonicity for the Yang–Mills–Higgs flow