I completely disagree with Cooties and Near to You. While Cooties is a silly dance number, it is explained in the plot why it is there as well as replacing the original The Roach in the film. Near to You is a gorgeous song that really tears me up. It's necessary to remind the audience that Joe's wife has never been forgotten. Especially in Act Two, when she rarely makes an appearance and the plot (as well as Joe) has been almost entirely focused on the game. And though I don't care for Something Bad, the song is not completely pointless.
Who's Got the Pain and Shipoopi are pointless excuses for dance numbers, but in musical comedies, dance numbers are never pointless, really, are they?
One song that is truly pointless that comes to mind was My Secretary's in Love in the national tour of Big. It really provided no insight to the character nor did it reinforce the plot in any way. There was no dancing, so it couldn't even fill as a pointless musical comedy dance number.
As for Hairspray being "full of pointless songs". Actually, there are no pointless songs. Every song is either plot or character driven. There's not a single pointless song in the show.
"What can you expect from a bunch of seitan worshippers?" - Reginald Tresilian