Man shot dead at nursing home attacked officer with wheelchair footrest, officials say