Amid deep divisions, Greek parliament approves Macedonia name-change deal to end neighbours' protracted dispute.