Children born outside marriage have equal inheritance rights, government says