A Huntingdonshire village pub which had plans to convert its site into three homes rejected has lost a bid to have the decision overturned.