Optimal Irrigation Management for Sloping, Blocked-End Borders