A thug slashed a man with a machete in an attack near Manhattan’s bustling Union Square Park on Friday, police said. The assault occurred steps away from the greenspace around 11:10 a.m. near 4th Avenue and Union Square East, leaving the victim with a laceration to his head, cops said.