Head of global body calls decision to build almost 800 homes ‘major obstacle to achievement of the two-state solution’ and ‘flagrant violation of international law’; joins EU, UK, Israeli opposition members and Peace Now in slamming move