Senate rejects proposal to ban earmarks