Residents of illegal West Bank outpost approve compromise reached with government to prevent demolition; authorities to examine whether community can be legalized