A bandstructure-invariant deflation for real symmetric matrices