A 42-year-old police commander was stabbed to death in front of his home in a Paris suburb and his assailant was later killed by police.