Heads’ leaders welcome the move but warn schools will be judged on exam attainment regardless of context