Method and apparatus for controlling braking hydraulic pressure for a vehicle