India and Germany sign legal aid, 7 other pacts