Unborn child has 'significant' rights, Irish judge rules