On (non)integrability of classical strings in p-brane backgrounds