Electromagnetic flowmeter cleaning method