An FBI agent has shot dead a man during interrogations connected with the Boston Marathon bombings.