Romanian PM quits after Constitutional Court ruling