Whirlpool to cut 5,000 jobs to reduce costs