Constitution allows NMPs to join political parties after stepping down: Shanmugam