The House approved a measure to spend $50 billion over the next five years to combat H.I.V./AIDS, malaria and tuberculosis in Africa and the Caribbean.