Hull City pulled nine points clear of the relegation zone as George Boyd secured them a 1-0 victory over Swansea City.