Hosts Qatar on verge of elimination after 3-1 loss to Senegal