West Ham boss Slaven Bilic hails his "valiant" side but admits Tottenham deserved victory at the London Stadium.