Strong correlations between vacancy and magnetic ordering in superconducting K0.8Fe2−ySe2