The Obama administration is dismantling a defunct database, a move that may make it more difficult for President-elect Donald Trump to start a “Muslim registry.”