Struggling West Bromwich Albion beat 10-man Hull City to claim their first win since 29 December and move out of the Championship relegation zone.