Ihara's lemma and multiplicity one