German lawmakers resolve top court judge appointment deadlock