Trump signs short-term funding, avoids shutdown