UK military would remain in independent Scotland for 20 year