Lax representation, r-matrix method, and separation of variables for the Neumann-type restricted flow