Mr. Cameron, the British prime minister, admitted that he had bungled his response to questions about his inheritance from his father, who had an offshore investment company.