Four-terminal magnetoresistance of a two-dimensional electron-gas constriction in the ballistic regime