The Government has agreed to ensure women and their partners are entitled to paid bereavement leave if they experience a miscarriage.