Tax loophole closed for second homes in England