Resource Competition Determines Selection of B Cell Repertoires