När läkare inte har tid att besöka äldre på deras boenden ökar risken för att palliativ vård sätts in i förtid.