Relief valve for fluid motor