The US vice-president was attending the funeral of a woman shot dead in Buffalo, New York state.