UW basketball coach resigns after use of racial epithet