Pirates hand Cubs 11th straight loss with HBP