Singularity formation and global Well-posedness for the generalized Constantin–Lax–Majda equation with dissipation