Biden’s upbeat talk overshadowed by Kabul attack